﻿namespace NuGetCop.MSBuild.Tasks.Contracts
{
    using System;
    using System.Diagnostics.Contracts;
    using NuGetCop.MSBuild.Tasks;
    using NuGetCop.MSBuild.Tasks.Configuration;

    [ContractClassFor(typeof(INuGetPackageChecker))]
    internal abstract class ContractForINuGetPackageChecker : INuGetPackageChecker
    {
        private ContractForINuGetPackageChecker()
        {
        }

        public INuGetPackageCheckResult CheckNuGetPackageRule(NuGetCopRuleSettings rule, INuGetPackageRepository packageRepository)
        {
            Contract.Requires(rule != null);
            Contract.Requires(packageRepository != null);
            Contract.Ensures(Contract.Result<INuGetPackageCheckResult>() != null);

            throw new NotImplementedException();
        }
    }
}